import 'package:coinbaby/common/const/cosnt.dart';
import 'package:coinbaby/common/textstyle/textstyle.dart';
import 'package:flutter/material.dart';

class StrategyInfoView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      margin: const EdgeInsets.only(top: 35),
      height: 101,
      decoration: BoxDecoration(
        color: AppColor.grey,
        borderRadius: BorderRadius.circular(10)
      ),
      child: Padding(
        padding: const EdgeInsets.all(15),
        child: Row(
          crossAxisAlignment: CrossAxisAlignment.start,
          children: <Widget>[
            Text("当前账户余额：", style: AppFont.textStyle(14, AppColor.font333, family: FamilyEnum.medium),),
            SizedBox(width: 15,),
            Column(
              mainAxisAlignment: MainAxisAlignment.spaceBetween,
              crossAxisAlignment: CrossAxisAlignment.start,
              children: <Widget>[
                Text("USDT：1234.52 ", style: AppFont.textStyle(14, AppColor.font333, family: FamilyEnum.medium),),
                Text("BTC：0.213", style: AppFont.textStyle(14, AppColor.font333, family: FamilyEnum.medium),),
              ],
            ),
          ],
        ),
      ),
    );
  }
}